package com.atguigu.rabbitmq.utils;

/**
 * ClassName: SleepUtils
 * Description: 睡眠工具类
 * Date: 2023/04/27 PM 4:28:17
 * <p>
 * project: atguigu-rabbitmq
 * package: com.atguigu.rabbitmq.utils
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public final class SleepUtils {

    private SleepUtils() {

    }

    public static void sleep(int second) {
        try {
            Thread.sleep(1000L * second);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
    }
}
